package com.app.service.student;

import com.app.pojo.Grade;
import com.app.pojo.Student;

import java.util.List;

public interface ManagementService {
    Student getStudentById(Integer id);
    String updatePassword(Integer id, String oldPassword, String newPassword);
    String updateInfo(Integer id, String name, Integer sex, String mobilePhone);
    Grade getGrade(String studentId);
    List<Student> getStudents(String teacherId,String name,Integer sex,String major,String year);
    Integer updateStudent(Student student);
    Integer addStudent(Student student);
    Integer delStudent(Integer id);
}
